<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            width: 50px;
            height: 50px;
            background-color: pink;
        }
        img{
            width: 100%;
        }
    </style>
</head>
<body>
    <div>
        <img src="upload/4.jpg" alt="">
    </div>
</body>
</html>